package com.aaron.kjviewutils.eventBus;

import android.os.Bundle;

/**
 * 作者：Aaron on 2017/2/22 09:59
 * 邮箱：kaijin.fang@edianniu.com
 */
public class BundleEventMsg {

    private EventBusType type;
    private Bundle bundle;
    public BundleEventMsg(EventBusType type, Bundle bundle) {
        this.type = type;
        this.bundle = bundle;
    }

    public Bundle getBundle() {
        return bundle;
    }

    public void setBundle(Bundle bundle) {
        this.bundle = bundle;
    }

    public EventBusType getType() {
        return type;
    }

    public void setType(EventBusType type) {
        this.type = type;
    }

    public enum EventBusType
    {
        BUNDLE_CARTE,
        BUNDLE_FLIGHT_UI,
        BUNDLE_FLIGHT_LIST,
        BUNDLE_FLIGHT_DETAIL_STICKY,
        BUNDLE_FLIGHTDETAIL_UI,
        BUNDLE_WECHAT_LOAD_LIST,
        STOCK_SUBMEU_UI,
        STOCK_SUBMEU_UI_DETAIL,
        BUNDLE_CAR_INFO;
    }
}
